package com.zhiche.lisa.bms.dao.model.statistics;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 订单统计综合表
 * </p>
 *
 * @author liangpeng
 * @since 2019-03-01
 */
@TableName("lisa_static_order_composite")
public class StaticOrderComposite extends Model<StaticOrderComposite> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 系统订单号
     */
	@TableField("sys_order_id")
	private String sysOrderId;
    /**
     * 客户运单号
     */
	@TableField("cust_waybill_id")
	private String custWaybillId;
    /**
     * 业务主体
     */
	private String ciams;
    /**
     * 客户
     */
	@TableField("customer_id")
	private String customerId;
    /**
     * 商品车型
     */
	private String carTypeName;
    /**
     * 数量
     */
	@TableField("order_num")
	private Integer orderNum;
    /**
     * 主运输方式
     */
	@TableField("main_transport_mode")
	private String mainTransportMode;
    /**
     * 打印日期
     */
	@TableField("print_date")
	private Date printDate;
    /**
     * 回单日期
     */
	@TableField("return_date")
	private Date returnDate;
    /**
     * 订单状态
     */
	@TableField("order_status")
	private String orderStatus;
    /**
     * 回单状态
     */
	@TableField("pod_status")
	private String podStatus;
    /**
     * 起运地
     */
	@TableField("order_start_Addr")
	private String orderStartAddr;
    /**
     * 目的地
     */
	@TableField("order_end_addr")
	private String orderEndAddr;
    /**
     * 目的省份
     */
	@TableField("order_end_province")
	private String orderEndProvince;
	/**
	 * 标准车型
	 */
	@TableField("standard_car_name")
	private String standardCarName;
    /**
     * 收入单价
     */
	@TableField("order_price")
	private BigDecimal orderPrice;
    /**
     * 收入公里
     */
	@TableField("order_miles")
	private BigDecimal orderMiles;
    /**
     * 暂估收入单价
     */
	@TableField("order_est_price")
	private BigDecimal orderEstPrice;
    /**
     * 暂估收入公里数
     */
	@TableField("order_est_miles")
	private BigDecimal orderEstMiles;
    /**
     * 运输费
     */
	@TableField("order_money")
	private BigDecimal orderMoney;
    /**
     * 订单其他费用
     */
	@TableField("order_other_cost")
	private BigDecimal orderOtherCost;
    /**
     * 账单其他费用分摊金额
     */
	@TableField("income_bill_other_cost")
	private BigDecimal incomeBillOtherCost;
    /**
     * 总收入
     */
	@TableField("order_income_amount")
	private BigDecimal orderIncomeAmount;
    /**
     * 是否暂估单价
     */
	@TableField("is_est_price")
	private String isEstPrice;
    /**
     * 是否暂估公里
     */
	@TableField("is_est_miles")
	private String isEstMiles;
    /**
     * 账单编号
     */
	@TableField("income_bill_id")
	private String incomeBillId;
    /**
     * 账单状态
     */
	@TableField("income_bill_status")
	private String incomeBillStatus;
    /**
     * 收入开票状态
     */
	@TableField("income_invoice_status")
	private String incomeInvoiceStatus;
    /**
     * 收入开票日期
     */
	@TableField("income_invoice_date")
	private String incomeInvoiceDate;
    /**
     * 收入发票号
     */
	@TableField("income_invoice_no")
	private String incomeInvoiceNo;
    /**
     * 收款日期
     */
	@TableField("receipt_date")
	private String receiptDate;
    /**
     * 开票公司
     */
	@TableField("unit_name")
	private String unitName;
	/**
	 * 合同编号
	 */
	@TableField("contract_id")
	private String contractId;
	/**
	 * 规则id
	 */
	@TableField("rule_id")
	private String ruleId;
    /**
     * 应收账单其他费用
     */
	@TableField("income_bill_charge")
	private BigDecimal incomeBillCharge;
    /**
     * 申请开票金额
     */
	@TableField("income_invoice_apply")
	private BigDecimal incomeInvoiceApply;
    /**
     * 已开票金额
     */
	@TableField("income_invoice_money")
	private BigDecimal incomeInvoiceMoney;
    /**
     * 创建时间
     */
	@TableField("gmt_create")
	private Date gmtCreate;
    /**
     * 更新时间
     */
	@TableField("gmt_modify")
	private Date gmtModify;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSysOrderId() {
		return sysOrderId;
	}

	public void setSysOrderId(String sysOrderId) {
		this.sysOrderId = sysOrderId;
	}

	public String getCustWaybillId() {
		return custWaybillId;
	}

	public void setCustWaybillId(String custWaybillId) {
		this.custWaybillId = custWaybillId;
	}

	public String getCiams() {
		return ciams;
	}

	public void setCiams(String ciams) {
		this.ciams = ciams;
	}

	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public String getCarTypeName() {
		return carTypeName;
	}

	public void setCarTypeName(String carTypeName) {
		this.carTypeName = carTypeName;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public String getMainTransportMode() {
		return mainTransportMode;
	}

	public void setMainTransportMode(String mainTransportMode) {
		this.mainTransportMode = mainTransportMode;
	}

	public Date getPrintDate() {
		return printDate;
	}

	public void setPrintDate(Date printDate) {
		this.printDate = printDate;
	}

	public Date getReturnDate() {
		return returnDate;
	}

	public void setReturnDate(Date returnDate) {
		this.returnDate = returnDate;
	}

	public String getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}

	public String getPodStatus() {
		return podStatus;
	}

	public void setPodStatus(String podStatus) {
		this.podStatus = podStatus;
	}

	public String getOrderStartAddr() {
		return orderStartAddr;
	}

	public void setOrderStartAddr(String orderStartAddr) {
		this.orderStartAddr = orderStartAddr;
	}

	public String getOrderEndAddr() {
		return orderEndAddr;
	}

	public void setOrderEndAddr(String orderEndAddr) {
		this.orderEndAddr = orderEndAddr;
	}

	public String getOrderEndProvince() {
		return orderEndProvince;
	}

	public void setOrderEndProvince(String orderEndProvince) {
		this.orderEndProvince = orderEndProvince;
	}

	public String getStandardCarName() {
		return standardCarName;
	}

	public void setStandardCarName(String standardCarName) {
		this.standardCarName = standardCarName;
	}

	public BigDecimal getOrderPrice() {
		return orderPrice;
	}

	public void setOrderPrice(BigDecimal orderPrice) {
		this.orderPrice = orderPrice;
	}

	public BigDecimal getOrderMiles() {
		return orderMiles;
	}

	public void setOrderMiles(BigDecimal orderMiles) {
		this.orderMiles = orderMiles;
	}

	public BigDecimal getOrderEstPrice() {
		return orderEstPrice;
	}

	public void setOrderEstPrice(BigDecimal orderEstPrice) {
		this.orderEstPrice = orderEstPrice;
	}

	public BigDecimal getOrderEstMiles() {
		return orderEstMiles;
	}

	public void setOrderEstMiles(BigDecimal orderEstMiles) {
		this.orderEstMiles = orderEstMiles;
	}

	public BigDecimal getOrderMoney() {
		return orderMoney;
	}

	public void setOrderMoney(BigDecimal orderMoney) {
		this.orderMoney = orderMoney;
	}

	public BigDecimal getOrderOtherCost() {
		return orderOtherCost;
	}

	public void setOrderOtherCost(BigDecimal orderOtherCost) {
		this.orderOtherCost = orderOtherCost;
	}

	public BigDecimal getIncomeBillOtherCost() {
		return incomeBillOtherCost;
	}

	public void setIncomeBillOtherCost(BigDecimal incomeBillOtherCost) {
		this.incomeBillOtherCost = incomeBillOtherCost;
	}

	public BigDecimal getOrderIncomeAmount() {
		return orderIncomeAmount;
	}

	public void setOrderIncomeAmount(BigDecimal orderIncomeAmount) {
		this.orderIncomeAmount = orderIncomeAmount;
	}

	public String getIsEstPrice() {
		return isEstPrice;
	}

	public void setIsEstPrice(String isEstPrice) {
		this.isEstPrice = isEstPrice;
	}

	public String getIsEstMiles() {
		return isEstMiles;
	}

	public void setIsEstMiles(String isEstMiles) {
		this.isEstMiles = isEstMiles;
	}

	public String getIncomeBillId() {
		return incomeBillId;
	}

	public void setIncomeBillId(String incomeBillId) {
		this.incomeBillId = incomeBillId;
	}

	public String getIncomeBillStatus() {
		return incomeBillStatus;
	}

	public void setIncomeBillStatus(String incomeBillStatus) {
		this.incomeBillStatus = incomeBillStatus;
	}

	public String getIncomeInvoiceStatus() {
		return incomeInvoiceStatus;
	}

	public void setIncomeInvoiceStatus(String incomeInvoiceStatus) {
		this.incomeInvoiceStatus = incomeInvoiceStatus;
	}

	public String getIncomeInvoiceDate() {
		return incomeInvoiceDate;
	}

	public void setIncomeInvoiceDate(String incomeInvoiceDate) {
		this.incomeInvoiceDate = incomeInvoiceDate;
	}

	public String getIncomeInvoiceNo() {
		return incomeInvoiceNo;
	}

	public void setIncomeInvoiceNo(String incomeInvoiceNo) {
		this.incomeInvoiceNo = incomeInvoiceNo;
	}

	public String getReceiptDate() {
		return receiptDate;
	}

	public void setReceiptDate(String receiptDate) {
		this.receiptDate = receiptDate;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public String getContractId() {
		return contractId;
	}

	public void setContractId(String contractId) {
		this.contractId = contractId;
	}

	public String getRuleId() {
		return ruleId;
	}

	public void setRuleId(String ruleId) {
		this.ruleId = ruleId;
	}

	public BigDecimal getIncomeBillCharge() {
		return incomeBillCharge;
	}

	public void setIncomeBillCharge(BigDecimal incomeBillCharge) {
		this.incomeBillCharge = incomeBillCharge;
	}

	public BigDecimal getIncomeInvoiceApply() {
		return incomeInvoiceApply;
	}

	public void setIncomeInvoiceApply(BigDecimal incomeInvoiceApply) {
		this.incomeInvoiceApply = incomeInvoiceApply;
	}

	public BigDecimal getIncomeInvoiceMoney() {
		return incomeInvoiceMoney;
	}

	public void setIncomeInvoiceMoney(BigDecimal incomeInvoiceMoney) {
		this.incomeInvoiceMoney = incomeInvoiceMoney;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "StaticOrderComposite{" +
			", id=" + id +
			", sysOrderId=" + sysOrderId +
			", custWaybillId=" + custWaybillId +
			", ciams=" + ciams +
			", customerId=" + customerId +
			", carTypeName=" + carTypeName +
			", orderNum=" + orderNum +
			", mainTransportMode=" + mainTransportMode +
			", printDate=" + printDate +
			", returnDate=" + returnDate +
			", orderStatus=" + orderStatus +
			", podStatus=" + podStatus +
			", orderStartAddr=" + orderStartAddr +
			", orderEndAddr=" + orderEndAddr +
			", orderEndProvince=" + orderEndProvince +
			", orderPrice=" + orderPrice +
			", orderMiles=" + orderMiles +
			", orderEstPrice=" + orderEstPrice +
			", orderEstMiles=" + orderEstMiles +
			", orderMoney=" + orderMoney +
			", orderOtherCost=" + orderOtherCost +
			", incomeBillOtherCost=" + incomeBillOtherCost +
			", orderIncomeAmount=" + orderIncomeAmount +
			", isEstPrice=" + isEstPrice +
			", isEstMiles=" + isEstMiles +
			", incomeBillId=" + incomeBillId +
			", incomeBillStatus=" + incomeBillStatus +
			", incomeInvoiceStatus=" + incomeInvoiceStatus +
			", incomeInvoiceDate=" + incomeInvoiceDate +
			", incomeInvoiceNo=" + incomeInvoiceNo +
			", receiptDate=" + receiptDate +
			", unitName=" + unitName +
			", incomeBillCharge=" + incomeBillCharge +
			", incomeInvoiceApply=" + incomeInvoiceApply +
			", incomeInvoiceMoney=" + incomeInvoiceMoney +
			", gmtCreate=" + gmtCreate +
			", gmtModify=" + gmtModify +
			"}";
	}
}
